<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        input{
            display: block;
        }
    </style>
</head>
<body>
    <ul><input type="text"><input type="text"><input type="text"><input type="text"></ul>
   <script>
    let inpArr=document.getElementsByTagName("input")
    for(let i=0;i<inpArr;i++)
    {
          inpArr[i].
    }
   </script>
</body>
</html>